import http from "@/utils/http.js";

// 通过主键查询
export function getCouncilByKey(params) {
	return http.get('/expertCommittee/getByKey/noAuth', params)
}

// 获取列表数据
export function getCouncilPage(params) {
	return http.get('/expertCommittee/getPage/noAuth', params)
}

// 添加
export function addCouncil(data) {
	return http.post('/expertCommittee/add/noAuth', data)
}

// 通过主键修改
export function updCouncil(data) {
	return http.post('/expertCommittee/upd', data)
}

// 通过主键删除
export function delCouncil(data) {
	return http.post('/expertCommittee/del', data)
}
